Solve the problem of virtual lines that appears